<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::Shape Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_shape.html">Shape</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_s_p_h_1_1_shape-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::Shape Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Base class for all geometries.  
 <a href="class_s_p_h_1_1_shape.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="base__geometry_8h_source.html">base_geometry.h</a>&gt;</code></p>

<p>Inherited by <a class="el" href="class_s_p_h_1_1_complex_shape.html">SPH::ComplexShape</a>, <a class="el" href="class_s_p_h_1_1_complex_shape.html">SPH::ComplexShape</a>, <a class="el" href="class_s_p_h_1_1_multi_polygon.html">SPH::MultiPolygon</a>, and <a class="el" href="class_s_p_h_1_1_triangle_mesh_shape.html">SPH::TriangleMeshShape</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a4476c696cd5ace075ab6c9dcd37a86c4"><td class="memItemLeft" align="right" valign="top"><a id="a4476c696cd5ace075ab6c9dcd37a86c4"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Shape</b> (string shape_name)</td></tr>
<tr class="separator:a4476c696cd5ace075ab6c9dcd37a86c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8345e4a44bdb995a1bd5f956f0b33d41"><td class="memItemLeft" align="right" valign="top"><a id="a8345e4a44bdb995a1bd5f956f0b33d41"></a>
string&#160;</td><td class="memItemRight" valign="bottom"><b>getName</b> ()</td></tr>
<tr class="separator:a8345e4a44bdb995a1bd5f956f0b33d41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2751b2bf692992d08c015f065faca698"><td class="memItemLeft" align="right" valign="top"><a id="a2751b2bf692992d08c015f065faca698"></a>
virtual Vecd&#160;</td><td class="memItemRight" valign="bottom"><b>findClosestPoint</b> (Vecd input_pnt)=0</td></tr>
<tr class="separator:a2751b2bf692992d08c015f065faca698"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21aff79f2143c0ce4a1d28ceb34b8061"><td class="memItemLeft" align="right" valign="top"><a id="a21aff79f2143c0ce4a1d28ceb34b8061"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>findBounds</b> (Vecd &amp;lower_bound, Vecd &amp;upper_bound)=0</td></tr>
<tr class="separator:a21aff79f2143c0ce4a1d28ceb34b8061"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ae2f65ae337bc8dd13efb2df76ab491a3"><td class="memItemLeft" align="right" valign="top"><a id="ae2f65ae337bc8dd13efb2df76ab491a3"></a>
string&#160;</td><td class="memItemRight" valign="bottom"><b>name_</b></td></tr>
<tr class="separator:ae2f65ae337bc8dd13efb2df76ab491a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Base class for all geometries. </p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>SPHINXsys/src/shared/base_geometry/<a class="el" href="base__geometry_8h_source.html">base_geometry.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
